﻿//-----------------------------------------------------------------------
// <copyright file="Value.cs" company="tuliprules.org">
//     Copyright (c) 2011 tuplelister, tuliprules.org.
// </copyright>
// <summary>This is the Value class.</summary>
//-----------------------------------------------------------------------

namespace Tulip.Engine.Models.ClosedWorld
{
    using System.Windows.Markup;

    /// <summary>
    /// Represents a value of an ontological slot.
    /// </summary>
    [ContentProperty("Item")]
    public class Value : ElementBase
    {
        /// <summary>
        /// Gets or sets the position of the field in the index.
        /// </summary>
        public ValueRole Role { get; set; }

        /// <summary>
        /// Gets or sets the actual value.
        /// </summary>
        public string Item { get; set; }
    }
}
